Crate ockam_transport_tcp
source ·Expand description
This crate provides a TCP Transport for Ockam’s Routing Protocol.
This crate requires the rust standard library "std"
Structs
- Result of [
TcpTransport::connect
] call. - Trust Options for a TCP connection
- Trust Options for an Inlet
- Result of [
TcpTransport::listen
] call. - Information about specific Tcp listener
- Trust Options for a TCP listener
- Trust Options for an Outlet
- Information about specific Tcp sender (corresponds to one specific Tcp connection)
- Registry of all active workers and processors in TCP Transport to ease their lifecycle management
- Information about specific Tcp sender (corresponds to one specific Tcp connection)
- High level management interface for TCP transports
Enums
- An internal message type for a Portal
- A command message type for a Portal
- Tcp connection mode
Constants
- Maximum allowed size for a payload
- Transport type for TCP addresses
Traits
- This trait adds a
create_tcp_transport
method to any struct returning a Context. This is the case for an ockam::Node, so you can writenode.create_tcp_transport()
Functions
- Resolve the given peer to a
SocketAddr